Followup r93343
authorSam Reed <reedy@users.mediawiki.org>
Thu, 28 Jul 2011 00:28:18 +0000 (00:28 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Thu, 28 Jul 2011 00:28:18 +0000 (00:28 +0000)
Swap function_exists for MWInit::functionExists()

includes/profiler/ProfilerSimpleUDP.php

index b13634e..cd43a39 100644 (file)
@@ -20,7 +20,7 @@ class ProfilerSimpleUDP extends ProfilerSimple {
                        return;
                }
 
-               if ( !function_exists( 'socket_create' ) ) {
+               if ( !MWInit::functionExists( 'socket_create' ) ) {
                        # Sockets are not enabled
                        return;
                }